//
//  AusleseCell.m
//  jiyujiaProgram
//
//  Created by NiKi on 15/10/29.
//  Copyright © 2015年 中良 赵. All rights reserved.
//

#import "AusleseCell.h"

@implementation AusleseCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setCellWithModel:(NSArray *)model WithIndexPath:(NSIndexPath *)index
{
    self.iconImage.clipsToBounds = YES;
    self.iconImage.layer.cornerRadius = 3;
}


- (IBAction)playClick:(id)sender
{
    if ([self.delegate respondsToSelector:@selector(ausleseCell:playClick:)]) {
        [self.delegate ausleseCell:self playClick:sender];
    }
}


- (IBAction)listenClick:(id)sender
{
    if ([self.delegate respondsToSelector:@selector(ausleseCell:listenClick:)]) {
        [self.delegate ausleseCell:self listenClick:sender];
    }
}

@end
